package dog_mall_mycenter.service;

import dog_mall_commons.pojo.Dogs;
import dog_mall_commons.pojo.Users;

import java.util.List;

public interface MycenterService {
    List<Users> findall();
    void insertImg(Dogs dogs);

    Dogs  selectMaxIdForUser(Integer userid);

    void  updateDogs(Dogs dogs);

    void  updateUserImgById(Integer ids, String originalFilename);

    void  UpdateUsernameById(Integer id, String username);

    Users  selectuserById(Integer ids);

    void UpdatePwdById(Integer ids, String newPwd1);

    void updateAddrById(Integer id, String address);

    void deleteAddrById(Integer id);

    void deleteDogById(Integer id);
}
